$OpenBSD: patch-src_lib_util_watch_socket_cc,v 1.1 2017/05/22 14:02:55 espie Exp $

Index: src/lib/util/watch_socket.cc
--- src/lib/util/watch_socket.cc.orig
+++ src/lib/util/watch_socket.cc
@@ -10,6 +10,7 @@
 #include <util/watch_socket.h>
 
 #include <fcntl.h>
+#include <unistd.h>
 #include <errno.h>
 #include <sstream>
 #include <string.h>
